package org.dromara.apartment.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 支付方式对象 payment_type
 *
 * @author ckj
 * @date 2025-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("payment_type")
public class PaymentType extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 付款方式名称
     */
    private String name;

    /**
     * 每次支付租期数
     */
    private Integer payMonthCount;

    /**
     * 付费说明
     */
    private String additionalInfo;

    /**
     * 支付押金金额(分)
     */
    private Integer payDeposit;

    /**
     * 是否删除
     */
    @TableLogic
    private Boolean delFlag;

    /**
     * 排序
     */
    private Integer sort;


}
